﻿using System;
using System.Runtime.Serialization;

namespace WindowsFormsApplication24
{
    [DataContract]
    public class Vcode
    {

        [DataMember(Order = 0)]
        public int need_vcode { get; set; }

        [DataMember(Order = 1)]
        public string str_reason { get; set; }

        [DataMember(Order = 2)]
        public string captcha_vcode_str { get; set; }

        [DataMember(Order = 3)]
        public int captcha_code_type { get; set; }

        [DataMember(Order = 4)]
        public int userstatevcode { get; set; }
    }

    [DataContract]
    public class Data
    {

        [DataMember(Order = 0)]
        public string autoMsg { get; set; }

        [DataMember(Order = 1)]
        public int fid { get; set; }

        [DataMember(Order = 2)]
        public string fname { get; set; }

        [DataMember(Order = 3)]
        public long tid { get; set; }

        [DataMember(Order = 4)]
        public int is_login { get; set; }

        [DataMember(Order = 5)]
        public string content { get; set; }

        [DataMember(Order = 6)]
        public Vcode vcode { get; set; }
    }

    [DataContract]
    public class PostResultInfo
    {

        [DataMember(Order = 0)]
        public int no { get; set; }

        [DataMember(Order = 1)]
        public int err_code { get; set; }

        [DataMember(Order = 2)]
        public string error { get; set; }

        [DataMember(Order = 3)]
        public Data data { get; set; }
    }
}